package net.wanho.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.wanho.entity.AuthInfo;

/**
* @author Administrator
* @description 针对表【auth_info(权限表)】的数据库操作Service
* @createDate 2025-05-05 02:08:25
*/
public interface AuthInfoService extends IService<AuthInfo> {

    Object getAuthList();

    Object getAuthTree();

    boolean nameCheck(String authName);

    boolean urlCheck(String authUrl);

    boolean codeCheck(String authCode);

    void updateAuthStateById(Integer id, String authState);

    void removeAuthById(Integer id);

    void saveAuth(AuthInfo authInfo);
}
